package com.sky.service;


import com.sky.dto.SetmealDTO;
import com.sky.dto.SetmealPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishItemVO;
import com.sky.vo.DishVO;
import com.sky.vo.SetmealVO;

import java.util.List;

public interface SetmealService {
    PageResult page(SetmealPageQueryDTO setmealPageQueryDTO) throws Exception;

    void addSetmeal(SetmealDTO setmealDTO) throws Exception;

    SetmealVO selectById(Long id) throws Exception;

    void updateStatus(Integer status, Long id);

    void updateSetmeal(SetmealDTO setmealDTO) throws Exception;

    void deleteByIds(List<Long> ids);


    List<SetmealVO> seleteByCategoryId(Long categoryId);

    List<DishItemVO> bysetmealIdGetdish(Long id);
}
